home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Resources / Developers / PSPad 4.5.2 / pspad452inst_en.exe / {app} / Context / TeX.def < prev    next >
Encoding:
Text File  |  2006-06-08  |  7.9 KB  |  333 lines

  1. ; PSPad clip definition file for LaTeX
  2. ; Created by PSPad  30.1.2003
  3. ; Author:  TomßÜ Vacek
  4. ; Translation: Jan Fiala
  5. [Macro definition]
  6. %PismoVelikost%=@C font size:,,normalsize,tiny;scriptsize;footnotesize;small;normalsize;large;Large;LARGE;huge;Huge,
  7. %PismoStyl%=@C font style:,,rm,rm;it;bf;sl;sf;sc;tt;em,
  8. %StylDoc%=@C style: ,,article,article;report;book;letter;slides;twoside
  9. %FormatStranky%=@C style: ,,empty,plain;headings;empty
  10. %Zarovnani%=@C style: ,,center,flushleft;flushright;center
  11. %Block%=@C environment: ,,,document;figure;quote;quotation;verse;itemize;enumerate;description;tabular;tabbing;thebibliography;verbatim;equation;eqnarray,
  12. %VolbyDoc%=@C options: ,,a4paper,a4paper;a5paper;"a4paper,landscape";"a4paper,landscape,twocolumn";letterpaper
  13. %Package%=@C package: ,,czech,czech;graphicx;makeidx;amstex;color;graphpap;pict2e
  14. %Nadpis%=@C section type: ,,section,section;subsection;subsubsection;part;chapter;paragraph;subparagraph;appendi
  15. %ReckaAbecedaMala%=@C page format: ,,alpha,alpha;beta;gamma;delta;epsilon;vareepsilon;zeta;eta;theta;vartheta;iota;kappa;lambda;mu;nu;xi;o;pi;varpi;rho;varrho;sigma;varsigma;tau;upsilon;phi;varphi;chi;psi;omega
  16. %MatFun%=@C mathematical function: ,,sin,sin;cos;tan;cot;arcsin;arccos;arctan;ln;log;lim;max;min;det;dim
  17. %Integral%=@C Integral: ,,\int,\int;\int\limits,
  18. %Suma%=@C Sum: ,,\sum,\sum\nolimits;\sum,
  19. %edit1%=@E Scale:,,,,
  20. %edit2%=@E Picture:,,,,
  21. %edit3%=@E Description:,,,,
  22. %edit4%=@O File:,,,(*.tex)|*.tex,,R/
  23. %obr1%=@P Picture:,,,(*.ps;*.eps)|*.ps;*eps,,R/
  24. %edit5%=@E Name:,,,,
  25. %edit6%=@E Upper limit:,,,,
  26. %edit7%=@E Lower limit:,,,,
  27. %edit8%=@E Value+unit:,,,,
  28. %edit9%=@E Height+unit:,,,,
  29. %edit10%=@E Width+unit:,,,,
  30. %edit11%=@E Desription:,,,,
  31. %edit12%=@E Rotation:,,,,
  32. %edit13%=@E Title:,,,,
  33. %znak2%=@K Double cross: #,\#
  34. %znak3%=@K Dollar: $,\$
  35. %znak4%=@K Percent: %,\%
  36. %znak5%=@K Ampersand: &,\&
  37. %znak6%=@K Underscope: _,\_
  38. %znak7%=@K Left bracket: {,\{
  39. %znak8%=@K Right bracket: },\}
  40. %znak9%=@K Death:,\dag
  41. %znak10%=@K Three points: ...,\dots
  42. %znak11%=@K Comma delimiter:,","
  43. %mat1%=@K Upper index,^{|}
  44. %mat2%=@K Lower index,_{|}
  45. %mat3%=@K Radix,\sqrt{|}
  46. %mat4%=@K N-radix,\sqrt[|]{}
  47. %mat5%=@K Left bracket,\left
  48. %mat6%=@K Right bracket,\right
  49. %mat7%=@K less or equal,\leq
  50. %mat8%=@K great or equal,\geq
  51. %mat9%=@K approximately,\doteq
  52. %mat10%=@K unequal,\neq
  53. %mat11%=@K plus-minus,\pm
  54. %mat12%=@K implication,\Rightarrow
  55. %mat13%=@K equivalence,\Leftrightarrow
  56. %pStyl1%=@K Roman,\rm
  57. %pStyl2%=@K Sans serif,\sf
  58. %pStyl3%=@K typewriter,\tt
  59. %pStyl4%=@K italic,\it
  60. %pStyl5%=@K capital,\sc
  61. %pStyl6%=@K half bold,\bf
  62.  
  63. [  \ |b comment]
  64. \º|
  65. [ % |b comment]
  66. % º|
  67. [ {} |b brackets]
  68. {º|}
  69. [ SpecZnak |b special characters and symbols]
  70. %znak2%%znak3%%znak4%%znak5%%znak6%%znak7%%znak8%%znak9%%znak10% |
  71. [docsclass |r document class]
  72. \documentclass[%VolbyDoc%]{%StylDoc%}
  73. |
  74. [pagestyle1 |r page style]
  75. \pagestyle{%FormatStranky%}
  76. |
  77. [pagestyle2 |r page style change]
  78. \thispagestyle{%formatStranky%}
  79. |
  80. [hlaviΦka1 |r header text]
  81. \markright{º|}
  82. [usepackage |r include package]
  83. \usepackage{%Package%}
  84. |
  85. [usepackage2 |r include package with options]
  86. \usepackage[|]{}
  87. |
  88. [includeonly |r mark document for including only]
  89. \includeonly{º|}
  90. |
  91. [include |b include document]
  92. \include{%edit4%}
  93. |
  94. [pVel |b font size]
  95. \%PismoVelikost% |
  96. [pStyl |b font style]
  97. %pStyl1%%pStyl2%%pStyl3%%pStyl4%%pStyl5%%pStyl6% º|
  98. [begin-end |b environment]
  99. \begin{%Block%}
  100. º|
  101. \end{%Block%}
  102. [datum |b insert date]
  103. \today{} |
  104. [newline |b line break]
  105. \newline
  106. |
  107. [newpage |b page break]
  108. \newpage
  109. |
  110. [mbox |b non break word]
  111. \mbox{º|}
  112. [uv2 |b upper rounded quotes]
  113. ``º|''
  114. [nadpisy1 |b numbered titles, chapters,...]
  115. \%Nadpis%{%edit13%º}
  116. |
  117. [nadpisy2 |b nonnumbered titles, chapters,...]
  118. \%Nadpis%*{%edit13%º}
  119. |
  120. [author |r author]
  121. \author{º|}
  122. [title |r document name]
  123. \title{º|}
  124. [maketitle |b page title]
  125. \maketitle
  126. |
  127. [content1 |b table of contents]
  128. \tableofcontents
  129. |
  130. [content2 |b list of pictures]
  131. \listoffigures
  132. |
  133. [content3 |b list of tables]
  134. \listoftables
  135. |
  136. [label |b label link]
  137. \label{º|}
  138. [ref |b reference link]
  139. \ref{º|}
  140. [refpage |b link to page with label]
  141. \pageref{º|}
  142. [pozn1 |b footer note]
  143. \footnote{º|}
  144. [pozn2 |b margin note]
  145. \marginpar{\em º|}
  146. [citace1 |b short citation]
  147. \begin{quote}
  148. º|
  149. \end{quote}
  150. [citace2 |b long citation (several paragraph)]
  151. \begin{quotation}
  152. º|
  153. \end{quotation}
  154. [citace3 |b poem]
  155. \begin{verse}
  156. º|\\
  157. \\
  158. \\
  159. \end{verse}
  160. [v²Φet1 |b single listing]
  161. \begin{itemize}
  162. \item º|
  163. \item
  164. \item
  165. \end{itemize}
  166. [v²Φet2 |b numbered listing]
  167. \begin{enumerate}
  168. \item º|
  169. \item
  170. \item
  171. \end{enumerate}
  172. [v²Φet3 |b listiong with cations]
  173. \begin{description}
  174. \item [º|]
  175. \item []
  176. \item []
  177. \end{description}
  178. [zarovnßnφ |b block align]
  179. \begin{%Zarovnani%}
  180. º|
  181. \end{%Zarovnani%}
  182. [verbatim |b unformated text]
  183. \begin{verbatim}
  184. º|
  185. \end{verbatim}
  186. [verb |b unformated short verb]
  187. \verb+| +
  188. [math1 |b mathematical formula in text]
  189. $º|$
  190. [math2 |b mathematical formula]
  191. $$º|$$
  192. [math3 |b mathematical formula with numbering]
  193. \begin{equation}
  194. º|
  195. \end{equation}
  196. [math4 |b aligned mathematical formula with numbering]
  197. \begin{eqnarray}
  198. º|&=& \\
  199. &=&  \\
  200. &=&  \\
  201. \end{eqnarray}
  202. [zlomek |b fraction with horizontal line]
  203. \frac{º|}{}
  204. [abc╪eckß |b Greek alphabet - lower]
  205. \%ReckaAbecedaMala%|
  206. [fce2 |b Math function]
  207. \%MatFun%(|º)
  208. [fce1 |b Math functions and symbols]
  209. %mat1%%mat2%%mat3%%mat4%%mat5%%mat6%
  210. [integrßl |b Integral]
  211. %Integral%_{%edit6%}^{%edit7%}
  212. |
  213. [suma |b Sum]
  214. %Suma%_{%edit6%}^{%edit7%}
  215. |
  216. [matSymb |b Mathematical symbols]
  217. %mat7%%mat8%%mat9%%mat10%%mat11%%mat12%%mat13%|
  218. [tab1 |b Tablular]
  219. \begin{tabular}{||c||r|l|}
  220. \hline
  221. \bfseries º & \bfseries & \bfseries \\
  222. \hline
  223. \hline
  224.  &  &  \\
  225.  &  &  \\
  226. \hline
  227. \end{tabular}
  228. [tab2 |b Tabbing]
  229. \begin{tabbing}
  230. º|\=  \=  \kill
  231.  \>  \>  \\
  232.  \>  \>  \\
  233. \end{tabbing}
  234. [tab |b Table + caption]
  235. \begin{table}[htbp]
  236.   º|
  237.   \caption{%edit11%} \label{}
  238. \end{table}
  239. [titulek |b caption]
  240. \caption[]{º|}
  241. [obrDef | picture definition]
  242. \def\jpgfig#1#2#3{%
  243.   \begin{figure}[htbp]%
  244.   \centerline{%
  245.   \scalebox{#1}{%
  246.    \pdfimage{#2}%
  247.    }%
  248.    }%
  249.    \caption{#3}\label{#2}%
  250.   \end{figure}%
  251. }
  252. [obr2 | insert picture jpg, pdf, pgn]
  253. \jpgfig{%edit1%}{%edit2%}{%edit3%}
  254. |
  255. [obr1 |b insert picture eps, ps]
  256. \begin{figure}[!ht]
  257.   \includegraphics[width=%edit10%, height=%edit9%]{%obr1%}
  258.   \caption{%edit11%} \label{|}
  259. \end{figure}
  260. ; NASTAVEN═ OKRAJ┘ - RELATIVN╠ K NASTAVEN═
  261. ; textwidth  - Üφ°ka textu
  262. ; textheight - v²Üka textu
  263. [okraje |r relative border settings]
  264. \addtolength{\hoffset}{-º|cm}
  265. \addtolength{\textwidth}{cm}
  266. \addtolength{\topmargin}{-cm}
  267. \addtolength{\textheight}{cm}
  268. ; P╪IPOM═N┴╚EK
  269. [docPrip | reminder template]
  270. \documentclass[a5paper]{article}
  271. \usepackage{graphicx}
  272. \addtolength{\hoffset}{-0.5cm}
  273. \addtolength{\textwidth}{1cm}
  274. \addtolength{\topmargin}{-3.5cm}
  275. \addtolength{\textheight}{5.5cm}
  276. \def\jpgfig#1#2{%
  277.   \begin{figure}[htbp]%
  278.   \centerline{%
  279.   \scalebox{#1}{%
  280.    \pdfimage{#2}%
  281.    }%
  282.    }%
  283.    \label{#2}%
  284.   \end{figure}%
  285. }
  286. \begin{document}
  287. \jpgfig{0.3}{p.png}
  288. \paragraph{Kalendß°}
  289. º|
  290. \end{document}
  291. [newcmd |b new command]
  292. \newcommand{\%edit5%}{º|}
  293. [newenv |b new environment]
  294. \newenvironment{%edit5%}[]
  295. {º|}
  296. [°ßdkovßnφ |r set spacing]
  297. \linespread{%edit8%}
  298. |
  299. [odsANO |b paragraph indent]
  300. \indent
  301. [odsNE |b disable paragraph indent]
  302. \noindent
  303. [mezH |b horizontal space]
  304. \hspace{%edit8%}
  305. |
  306. [mezV1 |b vertical space between paragraphs]
  307. \vspace{%edit8%}
  308. |
  309. [mezV2 |b vertical space in paragraph]
  310. \\[%edit8%]
  311. |
  312. [lit1 |b bibliography list]
  313. \begin{thebibliography}{99}
  314. \bibitem{º|}
  315. \bibitem{}
  316. \end{thebibliography}
  317. [lit2 |b literature reference]
  318. \cite{º|}
  319. [hyph |r word divide definition]
  320. \hyphenation{|}
  321. [clearpage |b print floating object]
  322. \clearpage
  323. [par1 |b sets parameter]
  324. \setlength{\|}{}
  325. [par2 |b add value to parameter]
  326. \addtolength{\|}{}
  327. [mkindex |r Make Index]
  328. \makeindex
  329. [index |b Index]
  330. \index{º|}
  331. [printindex |b Print Index]
  332. \printindex
  333.